projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710a0f5
)
(rmail-make-basic-summary-line):
author
Karl Heuer
<kwzh@gnu.org>
Thu, 11 Jul 1996 23:59:24 +0000
(23:59 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 11 Jul 1996 23:59:24 +0000
(23:59 +0000)
If user-mail-address is nil, use alternative.
lisp/mail/rmailsum.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmailsum.el
b/lisp/mail/rmailsum.el
index f2134f99934eb8225d56d41e213fa9ea4123363e..f9152447733cba143f7c486a325122906a287bdf 100644
(file)
--- a/
lisp/mail/rmailsum.el
+++ b/
lisp/mail/rmailsum.el
@@
-365,7
+365,14
@@
nil for FUNCTION means all messages."
(if (string-match (concat "^\\("
(regexp-quote (user-login-name))
"\\($\\|@\\)\\|"
- (regexp-quote user-mail-address)
+ (regexp-quote
+ ;; Don't lose if run from init file
+ ;; where user-mail-address is not
+ ;; set yet.
+ (or user-mail-address
+ (concat (user-login-name) "@"
+ (or mail-host-address
+ (system-name)))))
"\\>\\)")
from)
(save-excursion